package com.zmn.oms.dubbo.dto.common.work;

import com.zmn.oms.dubbo.dto.zmn.serviceitem.OrderServiceItemDetailDIO;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 类描述：请求DIO
 *
 * @author heciqi
 * @date 2018/12/11 16:05
 */
@Data
public class OrderServiceItemDIO implements Serializable {
	private Long itemId;

	/**
	 * 工单id
	 */
	private Long orderId;

	/**
	 * 工单产品扩展ID
	 */
	private Long proExtId;

	/**
	 * 产品Id
	 */
	private Integer productId;

	/**
	 * 产品名称
	 */
	private String productName;

	/**
	 * 服务项目Id
	 */
	private Integer servItemId;

	/**
	 * 服务项名称
	 */
	private String servItemName;

	/**
	 * 服务分组Id
	 *  @see com.zmn.base.price.common.dto.item.ItemDRO#itemTypeId
	 */
	private Integer servItemGroupId;

	/**
	 * 服务分组名称
	 * @see com.zmn.base.price.common.dto.item.ItemDRO#itemTypeName
	 */
	private String servItemGroupName;

	/**
	 * 项目分类Id
	 * @see com.zmn.plat.common.constant.ItemCategoryConsts#MAINTAIN_ITEM
	 */
	private Integer servItemCategId;

	/**
	 * 项目数量
	 */
	private Integer number;

	/**
	 * 价格(单价)
	 */
	private Integer itemPrice;

	/**
	 * 总价(单价*数量)
	 */
	private Integer totalPrice;

	/**
	 * 内部价(单价)
	 */
	private Integer internalSettlementPrice;

	/**
	 * 外部价(单价)
	 */
	private Integer externalSettlementPrice;


	/**
	 * 服务项明细
	 * @see com.zmn.base.price.common.dto.item.ItemDRO#itemCells
	 */
	private List<OrderServiceItemDetailDIO> itemDetailList;

	private String creater;

	private Date createTime;
}
